// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribePreCheckResultsResponse.h"

namespace aliyun { namespace Rds_Region {

DescribePreCheckResultsResponse::DescribePreCheckResultsResponse() {
}

const string& DescribePreCheckResultsResponse::PreCheckResult::GetPreCheckName(void) const {
  return PreCheckName_;
}

const string& DescribePreCheckResultsResponse::PreCheckResult::GetPreCheckResult(void) const {
  return PreCheckResult_;
}

const string& DescribePreCheckResultsResponse::PreCheckResult::GetFailReasion(void) const {
  return FailReasion_;
}

const string& DescribePreCheckResultsResponse::PreCheckResult::GetRepairMethod(void) const {
  return RepairMethod_;
}

const std::vector<DescribePreCheckResultsResponse::PreCheckResult>& DescribePreCheckResultsResponse::GetItems(void) const {
  return Items_;
}

const string& DescribePreCheckResultsResponse::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const char* DescribePreCheckResultsResponse::BaseKey(void) {
  return "DescribePreCheckResultsResponse";
}

void DescribePreCheckResultsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribePreCheckResultsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].PreCheckName_, response_map, "DescribePreCheckResultsResponse.Items["+string_ValueOfInt(i1)+"].PreCheckName");
      UnmarshallerString(Items_[i1].PreCheckResult_, response_map, "DescribePreCheckResultsResponse.Items["+string_ValueOfInt(i1)+"].PreCheckResult");
      UnmarshallerString(Items_[i1].FailReasion_, response_map, "DescribePreCheckResultsResponse.Items["+string_ValueOfInt(i1)+"].FailReasion");
      UnmarshallerString(Items_[i1].RepairMethod_, response_map, "DescribePreCheckResultsResponse.Items["+string_ValueOfInt(i1)+"].RepairMethod");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(DBInstanceId_, response_map, "DescribePreCheckResultsResponse.DBInstanceId");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
